/* SVN FILE: $Id: configure.js 12 2008-06-22 17:17:22Z rafaelbandeira3 $ */
/**
* Application : The Javascript MVC Framework
*
* @package application.core
* @subpackage cookie
* @author 			$Author: rafaelbandeira3 $
* @copyright 		(c) Rafael Bandeira, Marcelo Condotta, Henrique Condotta. All Rights Reserved.
* @version 			$Revision: 12 $
* @lastrevision 	$Date: 2008-06-22 17:17:22 +0000 (Sun, 22 Jun 2008) $
* @modifiedby 		$LastChangedBy: rafaelbandeira3 $
* @lastmodified 	$LastChangedDate: 2008-06-22 17:17:22 +0000 (Sun, 22 Jun 2008) $
* @license 			The MIT License [http://www.opensource.org/licenses/mit-license.php]
* @filesource 		$URL: http://jsmvcapplication.googlecode.com/svn/trunk/application/src/configure.js $
*/
var Configure = new (function()
{
	__configs = {};
	this.set = function(param, value)
	{
		if(typeof value == 'undefined')
			value = true;
		
		__configs[param] = value;
	}
	this.test = function(param, value)
	{
		return (__configs[param] == value);
	}
	this.unset = function(param)
	{
		delete __configs[param];
	}	
})();

browser = new (function()
{
	ua = navigator.userAgent;
})();
